package router

import (
	"github.com/gin-gonic/gin"
	"onechat/api/handler"
)

func Router(c *gin.Engine) {
	c.POST("/create", handler.Create)
	c.GET("/chat", handler.Chat)
	c.GET("/show", handler.Show)
	c.POST("/add", handler.FriendAdd)
}
